package com.aacar.service;

import com.aacar.dto.UserIntegralPayDto;
import com.aacar.entity.OrderPay;
import com.aacar.interceptor.TranFailException;

import java.util.Map;

public interface OrderPayService {


	/**
	 * 用户充积分支付宝支付串
	 * @return
	 * @throws TranFailException
	 */
	String genAlipayPayStrOrderUIP(UserIntegralPayDto userIntegralPayDto) throws TranFailException;

	/**
	 * 用户充积分微信支付串
	 * @return
	 * @throws TranFailException
	 */
	String genWeiXinPayStrOrderUIP(UserIntegralPayDto userIntegralPayDto, String remoteAddr) throws Exception;

	/**
	 * 用户充积分回调
	 * @param converRequestParamMap
	 */
	void payCallBackOrderUIP(Map converRequestParamMap);


	String genAlipayPayStrOrder(OrderPay orderPay) throws TranFailException;

	String genAlipayPayStrBUOrder(OrderPay orderPay) throws TranFailException;


	/**
	 * 生成微信支付订单
	 * @param orderPay
	 * @return
	 * @throws TranFailException
	 */
	String genWeixinPayStr(OrderPay orderPay, String remoteAddr) throws Exception;

	void payCallBackOrder(Map converRequestParamMap);

	void payCallBackBUOrder(Map converRequestParamMap);



}
